package com.thiswhyme.swagger.service2.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * Created by thiswhyme on 2020/6/4.
 */
@Data
@Accessors(chain = true)
@ApiModel("用户信息")
public class UserDto implements Serializable {

    private static final long serialVersionUID = -1L;

    @ApiModelProperty("用户ID")
    private Integer userId;

    @ApiModelProperty("用户名")
    private String name;
}
